package com.qfedu.edu.utils;

import com.qfedu.edu.constance.DeviceConstance;

import java.util.UUID;

/**
 * @author xiaobobo
 * @title: DeviceKeyUtils
 * @projectName cd-fy-2401-third-project-parent
 * @description: 设备key的工具类
 * @date 2024/9/25  9:15
 */
public class DeviceKeyUtils {


    /**
     * 获取设备key
     *
     * @return
     */
    public static String getDeviceKey() {
        String stuff = UUID.randomUUID().toString().replace("-", "").trim();
        return DeviceConstance.getDevicePrefix() + stuff;
    }

}
